package com.xqls.ssm005.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserRestController {

    @RequestMapping(value = "/user/{id}")
    public Integer getId(@PathVariable String id){
        return 3;
    }


}
